import {name as newName} from "./a.js"
import h from "./b.js"//export default 只能用一次可以直接改变名称
import { ab } from "./a.js"

let name = 'shane'
let age = 12
let gender = 'man'

console.log(naem,age,gender);
console.log(newName)
console.log(h)
console.log(ab)

//es5 导出
// module.exports ={}

//es5 导入
// var{} = require('./b.js')

